#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
int my_atoi(const char* a)
{
	int ret = 0;
	while (*a)
	{
		ret = ret * 10 + *a - '0';
		a++;
	}
	return ret;
}
int main()
{
	char a[] = "232";
	int n = my_atoi(a);
	printf("%d", n);
	return 0;
}